package com.app.service;

import com.app.model.VillageFairModel;
import com.app.vo.FairVo;


import java.util.List;

public interface VillageFairService {

    void update(VillageFairModel model);

    void insert(VillageFairModel model);

    void deleteById(Integer id);

    FairVo selectList(Integer page, Integer limit, String keyword, Integer type, Integer status, Integer township);

    FairVo selectList(Integer page, Integer limit, String keyword, Integer type, Double longitude, Double latitude, Integer township);

    VillageFairModel selectById(Integer id);

    List<VillageFairModel> selectByUserId(Integer id);
}
